
package com.insigma.business.qrcode.soldier._provider;


import com.insigma.business.qrcode.common.template.BasePagingResponse;
import com.insigma.business.qrcode.common.vo.BaseDeleteRequest;
import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.soldier.dto.SoldierDTO;
import com.insigma.business.qrcode.soldier.request.BaseGetRequest;
import com.insigma.business.qrcode.soldier.request.SoldierInsertRequest;
import com.insigma.business.qrcode.soldier.request.SoldierSearchRequest;
import com.insigma.business.qrcode.soldier.request.SoldierUpdateRequest;

import java.util.List;


public interface BaseSoldierProvider {
    BaseResponse<Integer> deleteSoldier(final BaseDeleteRequest deleteRequest);

    BaseResponse<Integer> updateSoldier(final SoldierUpdateRequest soldierUpdateRequest);


    BaseResponse<Integer> insertSoldier(final SoldierInsertRequest soldierInsertRequest);

    BasePagingResponse<List<SoldierDTO>> searchSoldier(final SoldierSearchRequest soldierSearchRequest);


    BaseResponse<SoldierDTO> getSoldier(final BaseGetRequest baseGetRequest);


}
